package com.du.spring5.bean;

import org.springframework.stereotype.Component;

/**
 * @author : DuJiabao
 * @Date : 2021/2/4 10:14
 * @Project : spring
 * @File : null.java
 * @Desc : 被增强的类
 */
//通过注解配置 实现对象创建
@Component
public class User implements UserInterface {
    public void add() {
        System.out.println("add.......");
        System.out.println(10/0);
    }
}
